package entity;

public class Comment {
	int id;
	int userId;
	int placeId;
	String email;
	String content;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getPlaceId() {
		return placeId;
	}
	public void setPlaceId(int placeId) {
		this.placeId = placeId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Comment(int id, int userId, int placeId, String content,String email) {
		super();
		this.id = id;
		this.userId = userId;
		this.placeId = placeId;
		this.content = content;
		this.email=email;
	}
	public Comment() {
		super();
	}
	public String toString(){
		
		return email.toUpperCase()+": "+content;
	}
	
}
